import time

print(time.localtime())


time1 = time.localtime()
print(time.strftime('%Y-%m-%d %H:%M:%S', time1))


import datetime

print(datetime.date.today())

print(datetime.datetime.now())